﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ARS.Control.Custom.Entity.Fields;

namespace ARS.Control.Custom.Entity.Model
{
    /// <summary>
    /// ARS_Entity_Table_Field:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class ARS_Entity_Table_Field : BaseModel
    {
        public ARS_Entity_Table_Field()
        { }
        #region Model
        private int _ars_entity_table_field_id;
        private int? _ars_entity_table;
        /// <summary>
        /// 
        /// </summary>
        [KeyField()]
        public int ARS_Entity_Table_Field_Id
        {
            set { _ars_entity_table_field_id = value; }
            get { return _ars_entity_table_field_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [ForeignKeyConfig(TableName = "ARS_Entity_Table", DataTextField = "Name", KeyField = "ARS_Entity_Table_Id")]
        [ForeignKeyField(Verbose_Name = "表")]
        public int? ARS_Entity_Table_Id
        {
            set { _ars_entity_table = value; }
            get { return _ars_entity_table; }
        }

        [ForeignKeyConfig(TableName = "ARS_Entity_ControlField_Config", DataTextField = "Name", KeyField = "ARS_Entity_ControlField_Config_Id")]
        [ForeignKeyField(Verbose_Name = "字段")]
        public int ARS_Entity_ControlField_Config_Id
        {
            get;
            set;
        }

        #endregion Model

    }
}
